import { pageInfoInt } from "../type";
/**
 * 管理员搜索表单
 */
export interface adminQuery extends pageInfoInt {
  username: string;
  cname: string;
  createStartTime: string;
  createEndTime: string;
  export?: boolean;
}

/**
 * 管理员导出
 */
export interface adminExport {
  username: string;
  cname: string;
  createStartTime: string;
  createEndTime: string;
  export?: boolean;
  date?: Date
}

/**
 * 管理员返回信息
 */
export interface resAdminInt {
  id: number;
  username: string;
  cname: string;
  password: string;
  roleid: number;
  createTime: string;
  updateTime: string;
}

/**
 * 管理员表单
 */
export interface addAdminInt {
  id?: number
  username: string
  cname: string
  password?: string
  roleid: number
}
